import {customeStruct} from '../utils';
const itf = customeStruct.interface;
export const InitData = itf({
    payload: itf({
        brands: [itf({
            id: 'string',
            name: 'string'
        })],
    })
});
export const List = itf({
    payload: itf({
        content: [itf(Object.assign({
            id: 'string',
            brandName: 'string',
            dealerCode: 'string',
            dealerName: 'string',
            partShipmentCode: 'string? | null',
            partInvoiceCode: 'string',
            invoicedDate: 'datetime',
            shipmentType: 'number',
            paymentType: 'number',
            priceTerms: 'number',
            totalAmount: 'number',
            invoiceAmount: 'number',
            status: 'number',
        }))],
        totalElements: 'number',
    })
});
export const DealerSimpleList = itf({
    payload: itf({
        content: [
            itf({
                id: 'string',
                code: 'string',
                name: 'string',
                branchCode: 'string? | null',
                provinceName: 'string? | null',
                countyName: 'string? | null',
                contactName: 'string? | null',
                contactPhone: 'string? | null',
                cityName: 'string? | null',
                address: 'string? | null',
            })
        ]
    })
});
